Explorar o código

Fehler in BestenlisteSetWert behoben

Kolja Strohm %!s(int64=4) %!d(string=hai) anos
pai
achega
e4973c26b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      StickmanWorldOnline/Aktionen.cpp

+ 1 - 1
StickmanWorldOnline/Aktionen.cpp

@@ -2878,7 +2878,7 @@ BestenlisteSetWert::BestenlisteSetWert( RCArray<Aktion> *subActions )
 
 void BestenlisteSetWert::run( Spiel *zSpiel, Ereignis *zEreignis, LocalMemory *zMemory, ProgramCounter *zPC, double &waitCount )
 {
-    ( (Bestenliste *)zParam( 3 ) )->setWert( ( (String *)zParam( 0 ) )->getValue(), ( (String *)zParam( 1 ) )->getValue(), ( (String *)zParam( 3 ) )->getValue() );
+    ( (Bestenliste *)zParam( 3 ) )->setWert( ( (String *)zParam( 0 ) )->getValue(), ( (String *)zParam( 1 ) )->getValue(), ( (String *)zParam( 2 ) )->getValue() );
 }