On Friday 15 June 2007, Kurosu wrote:
> Kurosu a écrit :
> [...]
>
> It seems my patch was munged. A copy is available at:
> http://kurosu.free.fr/replay.diff
>

Why don't you call Replay::StoreAction() in Network::SendAction() ? I know 
this makes a dependancie to Replay in network.cpp, but each time there is :
     Replay::GetInstance()->StoreAction(&a);
     Network::GetInstance()->SendAction(&a);

It's a bit intrusif..

You could too call Replay::StoreAction() in ActionHanlder::ExecActions.

Regards,

-- 
Romain Bignon - http://progs.coderz.info
http://progs.headfucking.net

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à