Permalink
Browse files

Urgent typo correction

setEpisodeStartTime was setting episode timeout
  • Loading branch information...
Ruben Fiszel
Ruben Fiszel committed Aug 21, 2016
1 parent 1664c83 commit 294a1616f9b7fdbb9905d6a1f0db0a27329a6a46
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lib_java/ViZDoomGameJava.cpp
@@ -1018,7 +1018,7 @@ JNIEXPORT jint JNICALL Java_vizdoom_DoomGame_getEpisodeStartTime
JNIEXPORT void JNICALL Java_vizdoom_DoomGame_setEpisodeStartTime
(JNIEnv *env, jobject obj, jint tics){
DoomGame* game = GetObject(env,obj);
game->setEpisodeTimeout(tics);
game->setEpisodeStartTime(tics);
}

/*

0 comments on commit 294a161

Please sign in to comment.