Bläddra i källkod

Fehlerhaftes speichern von items im inventar behoben

Kolja Strohm 5 år sedan
förälder
incheckning
14890e7111
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      StickmanWorldOnline/Gegenstand.cpp

+ 1 - 1
StickmanWorldOnline/Gegenstand.cpp

@@ -80,7 +80,7 @@ float abklingzeit( GegenstandTyp typ )
 
 bool storable( GegenstandTyp typ )
 {
-    return typ == RWEISHEIT || typ == RSTRENGTH || typ == RBOSHEIT || typ == RLEBEN || typ == RTEMPO;
+    return !(typ == RWEISHEIT || typ == RSTRENGTH || typ == RBOSHEIT || typ == RLEBEN || typ == RTEMPO);
 }
 
 bool brauchtRichtung( GegenstandTyp typ )