Skip to content

Commit 7890ffd

Browse files
committed
Fix compile error with CanEatPlants
1 parent 6251a88 commit 7890ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Spore ModAPI/SourceCode/Simulator/cCreatureAnimal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ namespace Simulator
9696
auto_METHOD_VOID(cCreatureBase, ConsumeEnergy,
9797
Args(float energyConsumed), Args(energyConsumed));
9898

99-
auto_METHOD_(cCreatureBase, bool, IsHervibore);
99+
auto_METHOD_(cCreatureBase, bool, CanEatPlants);
100100

101101

102102
auto_METHOD_VOID(cCreatureCitizen, DoAction, Args(int actionId, cGameData* actionObject, App::Property* prop), Args(actionId, actionObject, prop));

0 commit comments

Comments
 (0)