Skip to content

Commit

Permalink
Reverted last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
cathyjf committed Oct 14, 2010
1 parent 2b628fe commit 15a4eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripting/PokemonObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ JSBool isSelectable(JSContext *cx,
JSBool switchOut(JSContext *cx,
JSObject *obj, uintN /*argc*/, jsval * /*argv*/, jsval * /*ret*/) {
Pokemon *p = (Pokemon *)JS_GetPrivate(cx, obj);
p->getField()->withdrawPokemon(p);
p->switchOut();
return JS_TRUE;
}

Expand Down

0 comments on commit 15a4eaf

Please sign in to comment.