]> git.jsancho.org Git - lugaru.git/commitdiff
Fixed default command so that it does not make you giant
authorCôme Chilliet <come@chilliet.eu>
Sat, 4 Feb 2017 00:01:35 +0000 (01:01 +0100)
committerCôme Chilliet <come@chilliet.eu>
Sat, 4 Feb 2017 00:01:35 +0000 (01:01 +0100)
Source/Devtools/ConsoleCmds.cpp

index 84252e3040a92a84943bb0a30411550d9092cb97..94cb002bf9676318bff690b099923bc3d9165ddc 100644 (file)
@@ -638,7 +638,11 @@ void ch_default(const char*)
     Person::players[0]->metallow = 1;
     Person::players[0]->power = 1;
     Person::players[0]->speedmult = 1;
-    Person::players[0]->scale = 1;
+    if (Person::players[0]->creature == wolftype) {
+        Person::players[0]->scale = .23;
+    } else if (Person::players[0]->creature == rabbittype) {
+        Person::players[0]->scale = .2;
+    }
 
     Person::players[0]->setProportions(1, 1, 1, 1);