What steps will reproduce the problem?
1. Compile and run CppDemo
2. Press W
3. Crash
What is the expected output? What do you see instead?
The player moves
What version of the product are you using? On what operating system?
r1006 with Ubuntu
Please provide any additional information below.
When cloning the player object to create enemies objects some of the
sub-objects for the player (zRot, xRot) are not cloned, these seems to be used
to handle the camera view for the player (which for enemies shouldn't be
necessary) but other parts of the code assume for these objects to be non-null
and thus the application crashes.
The attached patch clones the additional required objects when cloning the
Player object.
Original issue reported on code.google.com by vek...@gmail.com on 8 Jan 2012 at 3:47
Original issue reported on code.google.com by
vek...@gmail.com
on 8 Jan 2012 at 3:47Attachments: