;; load a Quake2 model
(define mesh (get-mesh scene-manager "media/sydney.md2"))
(when (not mesh)
- (device-drop! device)
+ (drop! device)
(exit #f))
-(define node (add-animated-mesh-scene-node scene-manager mesh))
+(define node (add-animated-mesh-scene-node! scene-manager mesh))
(when node
(set-material-flag! node 'lighting #f)
(set-md2-animation! node 'stand)
(end-scene driver))
;; delete device
-(device-drop! device)
+(drop! device)
(exit #t)