aboutsummaryrefslogtreecommitdiffstats
path: root/games/critterding/files/patch-src-scenes-evolution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/critterding/files/patch-src-scenes-evolution.cpp')
-rw-r--r--games/critterding/files/patch-src-scenes-evolution.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/critterding/files/patch-src-scenes-evolution.cpp b/games/critterding/files/patch-src-scenes-evolution.cpp
new file mode 100644
index 000000000000..4a3f77fa402d
--- /dev/null
+++ b/games/critterding/files/patch-src-scenes-evolution.cpp
@@ -0,0 +1,11 @@
+--- src/scenes/evolution.cpp.orig 2010-03-06 01:14:29.000000000 +0300
++++ src/scenes/evolution.cpp 2013-06-18 06:00:15.823111566 +0400
+@@ -287,7 +287,7 @@
+ }
+ else if ( world->mouseRayHitEntity->type == 0 )
+ {
+- CritterB* c = static_cast<const CritterB*>(world->mouseRayHitEntity);
++ const CritterB* c = static_cast<const CritterB*>(world->mouseRayHitEntity);
+ Textprinter::Instance()->print( oldx+margin, oldy, "critter");
+ Textprinter::Instance()->print(oldx+rmargindistance, oldy, "%1i", c->critterID);
+ Textprinter::Instance()->print( oldx+margin, oldy+vspacer, "energy");