Skip to content

Commit

Permalink
U-Turn/Baton Pass trigger slower Pursuits, and "pHazing" removes trap…
Browse files Browse the repository at this point in the history
…ping effects. Fixes issue #373.
  • Loading branch information
Carlos Fernandez committed Oct 14, 2010
1 parent f6033ff commit 2b628fe
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->switchOut();
p->getField()->withdrawPokemon(p);
return JS_TRUE;
}

Expand Down

0 comments on commit 2b628fe

Please sign in to comment.